package com.itheima.com;

import java.lang.reflect.Constructor;
import java.lang.reflect.Field;

public class StudentDemo1 {
    public static void main(String[] args) throws Exception {
        Class clazz = Class.forName("com.itheima.com.Student");
        Student student = (Student)clazz.newInstance();

        Student student1 = (Student)clazz.newInstance();

        Field[] Fileds = clazz.getDeclaredFields();


        for(Field filed: Fileds){
            System.out.println(filed);
        }

    }
}
